﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NumberToText.aspx.cs" Inherits="AudioBook.AudioManagement.NumberToText" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel runat="server">
            <ContentTemplate>
                <asp:Panel runat="server" DefaultButton="btnRead">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <col width="100" />
                        <col width="130" />
                        <col />
                        <tr>
                            <td>
                                <b>Number</b>
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumber" runat="server" Width="100"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ErrorMessage="*" ControlToValidate="txtNumber"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator runat="server" ErrorMessage="*" ControlToValidate="txtNumber"
                                    ValidationExpression="\d{1,12}"></asp:RegularExpressionValidator>
                            </td>
                            <td>
                                <asp:Button ID="btnRead" runat="server" Text="Read" OnClick="btnRead_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b>Text</b>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="txtText" runat="server" Width="500"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
